
f=open('./test.txt','r',encoding='utf8')

for i in f:
    print(i,end='')

f.close()

f = open('./test.txt','r',encoding='utf8')

line=f.readlines()

print(line,end='')

f.close()


with open('./test.txt','r',encoding='utf8') as f:
    for i in f:
        print(i,end='')



